/*
 * Created by 2019年4月17日
 */
package com.agg.persist.xml.mapping;


import com.alibaba.druid.sql.ast.expr.SQLPropertyExpr;

public class Property {
	private String name;
	private String alias;
	private String column;
	private boolean isPrimaryKey;

	private String query;

	private SQLPropertyExpr expr;

	private String  owner;
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	public String getAlias() {
		return alias;
	}

	public void setAlias(String alias) {
		this.alias = alias;
	}

	/**
	 * @return the column
	 */
	public String getColumn() {
		return column;
	}
	/**
	 * @param column the column to set
	 */
	public void setColumn(String column) {
		this.column = column;
	}
	/**
	 * @return the isPrimaryKey
	 */
	public boolean isPrimaryKey() {
		return isPrimaryKey;
	}
	/**
	 * @param isPrimaryKey the isPrimaryKey to set
	 */
	public void setPrimaryKey(boolean isPrimaryKey) {
		this.isPrimaryKey = isPrimaryKey;
	}

	public SQLPropertyExpr getExpr() {
		return expr;
	}

	public void setExpr(SQLPropertyExpr expr) {
		this.expr = expr;
	}

	public String getQuery() {
		return query;
	}

	public void setQuery(String query) {
		this.query = query;
	}

	public String getOwner() {
		return owner;
	}

	public void setOwner(String owner) {
		this.owner = owner;
	}
}
